package com.ddwl.schema.bo.gate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2020/9/23 14:47
 */
@ApiModel(description = "运营商号段配置bo")
@Setter
@Getter
@NoArgsConstructor
public class OperatorConfigBo {

    private String id;

    @NotNull(message = "号段不能为空")
    @ApiModelProperty("号段")
    private String numSegment;

    @NotNull(message = "运营商不能为空")
    @ApiModelProperty("话费运营商编号（1移动；2联通；3电信；4其他）")
    private Byte operator;

}
